package com.lanchetech.dao;

import com.lanchetech.entity.CustomPageData;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CustomPageDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomPageData record);

    int insertSelective(CustomPageData record);

    CustomPageData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomPageData record);

    int updateByPrimaryKey(CustomPageData record);

    int updateBatch(List<CustomPageData> list);

    int updateBatchSelective(List<CustomPageData> list);

    int batchInsert(@Param("list") List<CustomPageData> list);

    int deleteByCustomPageId(@Param("customPageId") Long customPageId);

    List<CustomPageData> findAllByCustomPageId(@Param("customPageId") Long customPageId);

    int batchInsert2(@Param("list") List<CustomPageData> list);
}